﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OneMake.Model
{
    [PetaPoco.TableName("xy_d_buyarea")]
    [PetaPoco.PrimaryKey("oid")]
    public class xy_d_buyarea
    {
        [MapToField(FieldName = "统计日期")]
        public DateTime stat_datetime { get; set; }

        [MapToExcel(ColumnName = "访客地区")]
        public string area { get; set; }

        [MapToExcel(ColumnName = "订单数")]
        public int n_orders { get; set; }

        [MapToExcel(ColumnName = "订购额")]
        public double n_amount { get; set; }

        [MapToExcel(ColumnName = "订购量")]
        public int n_num1 { get; set; }

        [MapToExcel(ColumnName = "访客数")]
        public int n_visits { get; set; }

        [MapToExcel(ColumnName = "订单转化率")]
        public double per_sale { get; set; }
        
		/////////////////////////////////////////
        [MapToField(FieldName = "门店编号")]
        public int shopid { get; set; }
        [MapToField(FieldName = "文件编号")]
        public int fileid { get; set; }
        [MapToField(FieldName = "编号")]
        public int oid { get; private set; }    
    }
}
